<a class="<?php echo trim($class.' '.$order); ?>" href="<?php echo $url; ?>?<?php echo http_build_query($query); ?>"><?php echo $label; ?></a>